[NET] back: Add GSO features field and check gso_size
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 3 Jul 2006 08:05:18 +0000 (09:05 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 3 Jul 2006 08:05:18 +0000 (09:05 +0100)
commit3c8767d832d5c01ebcfda5dd42c7ed3ad6dac30f
tree39824021b3d8c5d11d8fcc2b1ede30f22b674cfb
parent3de1ac2405d668a2ade90c20ae44a37ea1c66fac
[NET] back: Add GSO features field and check gso_size

This patch adds the as-yet unused GSO features which will contain
protocol-independent bits such as the ECN marker.

It also makes the backend check gso_size to ensure that it is non-zero.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
linux-2.6-xen-sparse/drivers/xen/netback/netback.c
linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c
xen/include/public/io/netif.h